<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2023-10-31
  Time: 14:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <table border="1px" width="800px">
        <caption>分数管理</caption>
        <tr>
            <th>编号</th><th>学生</th><th>年龄</th><th>性别</th><th>课程</th><th>分数</th><th>操作</th>
        </tr>
        <c:forEach items="${scores}" var="score">
            <tr>
                <td>${score.id}</td>
                <td>${score.student.name}</td>
                <td>${score.student.age}</td>
                <td>${score.student.gender}</td>
                <td>${score.course}</td>
                <td>${score.score}</td>
                <td><a href="/score/findById?id=${score.id}">更新</a>  删除</td>
            </tr>
        </c:forEach>
    </table>
</body>
</html>
